/**
 * 
 */
package com.shine.icis.blo;

import com.shine.cotrun.sql.QueryParameters;
import com.shine.cotrun.web.comm.ListPage;
import com.shine.icis.dto.DeptInfo;
import com.shine.icis.exception.ICISException;
/**
 * @author zsy
 *
 */
public interface IDeptInfoService {
	
	/**
	 * 增加
	 * @param deptCode
	 * @param deptName
	 * @param intDeptCode
	 * @param occurDate
	 * @throws ICISException
	 */
	public void addDeptInfo(String deptCode, String deptName,
			String intDeptCode, String occurDate) throws ICISException;
	
	/**
	 * 修改
	 * @param oldDeptCode
	 * @param oldIntDeptCode
	 * @param deptCode
	 * @param deptName
	 * @param intDeptCode
	 * @param occurDate
	 * @throws ICISException
	 */
	public void modifyDeptInfo(String oldDeptCode, String oldIntDeptCode, 
			String deptCode, String deptName,
			String intDeptCode, String occurDate) throws ICISException;
	
	/**
	 * 删除
	 * @param oldDeptCode
	 * @param oldIntDeptCode
	 */
	public void deleteDeptInfo(String oldDeptCode, String oldIntDeptCode);
	
	/**
	 * 翻页查找
	 * @param dataDate
	 * @return
	 */
	public ListPage<DeptInfo> getDeptInfoPage(QueryParameters qp);
}
